﻿using QuickGraph;
using ttg_internal.utils;

namespace ttg_internal.Utilities.PipelineManager.Layout
{
    /// <summary>
    /// Edge entity
    /// </summary>
    public class PipelineEdge : Edge<Node>
    {
        /// <summary>
        /// Initializes a new instance
        /// </summary>
        public PipelineEdge(Node source, Node target)
            : base(source, target)
        {
            //
        }

        /// <summary>
        /// Vertex identifier
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// Returns string representation
        /// </summary>
        public override string ToString()
        {
            return Id;
        }
    }
}
